#pragma once
#ifndef GLUT_MANAGER  
#define GLUT_MANAGER 1337

#define KEYBOARD_SIZE 255
#define MOUSE_SIZE 3
#define NOT_PRESSED 0
#define FIRST_PRESS 1
#define	HELD_DOWN 2

#endif
class glutMouseManager
{
private:
	static int _oldX;
	static int _oldY;
	static int _currentX;
	static int _currentY;

	static int* _state;

public:

	static void Update();

	static void ButtonPresed(int button, int state, int x, int y);
	static void MouseMoved(int x, int y);

	static bool ButtonPresed(int button);
	static bool SinglePress(int button);

	static int X();
	static int Y();
	static int XChange();
	static int YChange();

	static void Begin();
};

